package com.xing.cmn.service;

import com.xing.common.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author 邢福豪
 * @date 2022/8/29 15:08
 */



@RestController
class UserController{

    @Autowired
    private UserService userServiceImplB;//默认依据类名指定，此处指定为UserServiceImplA实现类

    @GetMapping("/findUser")
    public Result findUser(){
        userServiceImplB.findUser();
        return Result.ok();
    }

}


